//
//  UIView+XLCorners.h
//  Current
//
//  Created by 于鹏 on 2017/8/15.
//  Copyright © 2017年 YIVIEW. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (XLVisuals)
/*
 *  Sets a corners with radius, given stroke size & color
 */
-(void)xl_cornerRadius: (CGFloat)radius
            strokeSize: (CGFloat)size
                 color: (UIColor *)color;
/*
 *  Sets a corners
 */
-(void)xl_setRoundedCorners:(UIRectCorner)corners
                     radius:(CGFloat)radius;

/*
 *  Draws shadow with properties
 */
-(void)xl_shadowWithColor: (UIColor *)color
                   offset: (CGSize)offset
                  opacity: (CGFloat)opacity
                   radius: (CGFloat)radius;


@end
